﻿cmake_minimum_required(VERSION 2.10)

project(WebSocketClient)

find_package(Qt5 REQUIRED COMPONENTS Core widgets gui Network websockets)
set(CMAKE_AUTOMOC ON)

set(SRC 
   main.cpp
   WebsocketClient.cpp
   WebsocketClient.h
   EchoClient.cpp
   EchoClient.h)

add_executable(${PROJECT_NAME} ${SRC})   
target_link_libraries(${PROJECT_NAME} Qt5::Core Qt5::Widgets Qt5::Gui Qt5::Network Qt5::WebSockets)
